<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:p="http://primefaces.org/ui">

<p:dialog id="modalAssento" header="Configurar Assentos" hideEffect="fade" resizable="false" minHeight="400" minWidth="665" widgetVar="popupConfigurarAssentos" modal="true" style="position: absolute" height="400" width="665">
	<h:form id="formConfigurarAssentos" rendered="true">

		<p:messages autoUpdate="true"/>
		<p:panel id="display">
			<div align="center">
				<h:panelGrid columns="4" styleClass="semBorda" columnClasses="colunaEsquerda,colunaDireita">
					<p:outputLabel for="txtQtdAssentos" value="Qtd fileiras:" />
					<p:inputText value="#{vooMB.qtdFileiras}" id="txtQtdAssentos" size="3" maxlength="3" required="true" requiredMessage="Campo Obrigatório" />
					<p:outputLabel for="txtQtdAssentosPrimeiraClasse" value="Qtd fileiras primeira classe" />
					<p:inputText value="#{vooMB.qtdFileirasPrimeiraClasse}" id="txtQtdAssentosPrimeiraClasse" size="3" maxlength="3" required="true" requiredMessage="Campo Obrigatório" />
				</h:panelGrid>
				<p:commandButton id="btSalvar" value="Gerar Matriz Assentos" style="font-size:12px;" action="#{vooMB.gerarMatrizAssentos}"/>
			</div>
		</p:panel>

	</h:form>
</p:dialog>
</html>
